﻿@charset "utf-8";

html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    overflow: hidden;
    background-color: rgb(27, 87, 148);
}

panel {
    display: block;
     width: 100%;
    height: 100%;
    position: absolute;
}
panel#loading{
    z-index: 1;
}
panel#login{
    z-index: 2;
}
panel#admin{
    z-index: 3;
    background: url('bg.jpg');
    background-size: 100% 100%;
}
#header-box {
    height: 35px;
    width: 100%;
    position: relative;
}

#mainbody {
    width: calc(100% - 10px);
    height: calc(100% - 10px - 35px);
    margin: 5px;
    position: relative;
}

#dropmenu-area {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 250px;
}

#headbar {
    position: absolute;
    opacity: 0;
    top: 5px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    text-align: left;
    text-shadow: 1px 1px 2px #666;
    font-size: 20px;
    cursor: default;
    user-select: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: all 0.3s;
}

#headbar span {
    font-size: 14px;
}

#user-area {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 30px;
    width: 100px;
    background-color: transparent;
}

#user-area drop_roots drop-node {
    background-color: transparent !important;
    color: #eee !important;
    text-align: center !important;
}

#user-area span {
    color: #eee !important;
}

#treemenu-area {
    float: left;
}

#tabs-area {
    float: right;
    margin-right: 5px;
    
}

#vbar-area {
    float: right;
    margin-top: 35px;
}
timer {
    display: block;
    position: absolute;
    top: 15px;
    right: 70px;
    font-size: 10px;
    color: rgba(255, 255, 255, .8);
}

#pageboxcollect {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 99999;
    width: 30px;
    height: 25px;
    line-height: 30px;
    font-size: 16px !important;
}

#pageboxcollect:after {
    font-size: 18px !important;
}

/*样式*/
#dropmenu-area.dropmenu {
    background-color: rgba(255, 255, 255, .8) !important;
    --background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.5) 10%, rgba(255, 255, 255, 0.8) 90%, rgba(255, 255, 255, .3) 100%);
    box-shadow: -1px 0 #fff,
        0 -1px #fff,
        1px 0 #333,
        0 1px #333;
    border-radius: 2px;
}

#dropmenu-area drop_roots * {
    --color: #ccc !important;
}
#dropmenu-area.dropmenu drop_roots drop-node:first-child{
    flex-grow: 3;
}
#dropmenu-area.dropmenu drop_roots drop-node{
    flex-grow: 4;
}
#dropmenu-area.dropmenu drop_roots drop-node:last-child{
    flex-grow: 3;
}
#dropmenu-area drop_roots drop-node:hover,
#dropmenu-area drop_roots drop-node.hover {
    color: #eee !important;
    background-color: rgba(150, 150, 150, .5) !important;
    text-shadow: 1px 1px 2px #666 !important;
}